One of the first examples of spatial analysis is from epidemiology. Dr John Snow investigated the cholera outbreak in 1854 in London. He postulated that cholera was transmitted through drinking water and not air. He noticed that the outbreak was centered on Broad Street public drinking pump.
## Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
## Units: [m]
## [,1] [,2] [,3] [,4]
## [1,] 0.00 312185.0 128340.26 475622.6
## [2,] 440561.48 114939.9 590434.32 0.0
## [3,] 18943.99 352719.0 78755.87 517526.7
## [,1] [,2] [,3] [,4]
## [1,] TRUE TRUE FALSE FALSE
## [2,] TRUE TRUE FALSE FALSE
## [3,] FALSE FALSE FALSE FALSE
## [4,] FALSE FALSE FALSE FALSE
## Warning in st_centroid.sf(nc): st_centroid assumes attributes are constant over
## geometries of x
## Warning in st_centroid.sf(nc): st_centroid assumes attributes are constant over
## geometries of x
## Warning in st_centroid.sf(nc): st_centroid assumes attributes are constant over
## geometries of x